<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes box {
            0% {
                transform: rotateX(-10deg) rotateY(0deg);
            }

            100% {
                transform: rotateX(-10deg) rotateY(360deg);
            }
        }


        body {
            perspective: 600px;
        }

        .box {
            position: relative;
            width: 170px;
            height: 170px;
            margin: 200px auto;
            /* perspective: 300px; */
            transform-style: preserve-3d;
            /* transform: rotateX(-45deg); */
            animation: box 5s linear infinite;

        }

        .box [class^=pic] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /* backface-visibility:  hidden; */
        }

        .pic1 {
            transform: rotateY(0deg) translateZ(300px);
        }

        .pic2 {
            transform: rotateY(60deg) translateZ(300px);
        }

        .pic3 {
            transform: rotateY(120deg) translateZ(300px);
        }

        .pic4 {
            transform: rotateY(180deg) translateZ(300px);
        }

        .pic5 {
            transform: rotateY(240deg) translateZ(300px);
        }

        .pic6 {
            transform: rotateY(300deg) translateZ(300px);
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="pic1"><img src="./avatar_1.png" alt=""></div>
        <div class="pic2"><img src="./avatar_1.png" alt=""></div>
        <div class="pic3"><img src="./avatar_1.png" alt=""></div>
        <div class="pic4"><img src="./avatar_1.png" alt=""></div>
        <div class="pic5"><img src="./avatar_1.png" alt=""></div>
        <div class="pic6"><img src="./avatar_1.png" alt=""></div>
        <div class="pic"><img src="./avatar_1.png" alt=""></div>
    </div>
</body>

</html>